package com.ruoyi.web.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author fancheng
 * @since 2022-11-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Comment implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 评论时间
     */
    private LocalDateTime time;

    /**
     * 用户名
     */
    private String user;

    /**
     * 评论内容
     */
    private String content;

    /**
     * 评价等级
     */
    private Integer grader;

    /**
     * 商家id
     */
    private Integer scenicId;


}
